﻿// -----------------------------------------------------------------------
//  <copyright file="Product.cs" company="柳柳软件">
//      Copyright (c) 2014-2015 66SOFT. All rights reserved.
//  </copyright>
//  <site>http://www.66soft.net</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2015-12-07 17:33</last-date>
// -----------------------------------------------------------------------

using System;
using System.ComponentModel;

using OSharp.Core.Data;


namespace ZH.JY.Store.Models
{
    /// <summary>
    /// 实体类——产品信息
    /// </summary>
    [Description("产品信息")]
    public class Product : EntityBase<int>,ICreatedTime
    {
        /// <summary>
        /// 获取或设置 产品名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 获取或设置 产品类型
        /// </summary>
        public ProductType ProductType { get; set; }

        /// <summary>
        /// 获取或设置 使用里程
        /// </summary>
        public int Milage { get; set; }

        /// <summary>
        /// 获取或设置 库存数量
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 获取设置 信息创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

    }
}